package com.lu.constants;

/**
 * myblog开发配置项枚举
 * @author xiaolu
 * @version 1.0
 * @date 2020/5/27 23:02
 */
public enum ConfigConstants {

    VERSION("Version","当前版本号"),
    URL("Url","服务器url"),
    AUTHOR("Author","开发者"),
    AUTHOR_IMG("AuthorImg","开发者头像"),
    EMAIL("Email","开发者邮箱"),
    COPY_RIGHT("CopyRight","版权所有"),
    UPDATE_TIME("UpdateTime","最后修改时间"),
    DEFAULT_CATEGORY("1","默认分类"),
    DEFAULT_TAG("1","默认标题");


    // 字段名
    private final String configField;
    // 配置名
    private final String configName;

    ConfigConstants(String configField, String configName) {
        this.configField = configField;
        this.configName = configName;
    }

    public String getConfigField() {
        return configField;
    }

    public String getConfigName() {
        return configName;
    }
}
